﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="_20200304lianxi4.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label3" runat="server" Text="Label">验证码：</asp:Label>
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><asp:Image ID="Image1" runat="server" ImageUrl="~/yzm.aspx"></asp:Image><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="验证码不能为空" ControlToValidate="TextBox2"></asp:RequiredFieldValidator></br>
        <asp:Button ID="Button1" runat="server" Text="验证" OnClick="Button1_Click"></asp:Button>
        <script type="text/javascript">
            var aaa = 1;
            document.getElementById("Image1").onclick = function () {
                this.setAttribute("src", "YZM.aspx?id=" + aaa);
                aaa++;
            };
</script>
    </div>
    </form>
</body>
</html>
